package a66weding.com.jiehuntong.activity.order;

import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

import a66weding.com.jiehuntong.R;
import a66weding.com.jiehuntong.activity.me.MeBaseActivity;
import a66weding.com.jiehuntong.application.GlobalApplication;

/**
 * 申请售后服务的二级界面
 * Created by Administrator on 2016/9/1.
 */
public class ApplyServiceTwoActivity extends MeBaseActivity implements View.OnClickListener{
    private LinearLayout mBackLay;
    private TextView mBackContentTv;
    private TextView mHeaderTitleTv;
    private RelativeLayout mHeaderRightRlay;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_apply_service_two);
        ((GlobalApplication)getApplication()).getActivityManager().addActivity("ApplyServiceTwoActivity",this);

        initview();
    }

    private void initview() {
        mBackLay = (LinearLayout) findViewById(R.id.llay_header_back);
        mBackContentTv = (TextView) findViewById(R.id.tv_header_backcontent);
        mHeaderTitleTv = (TextView) findViewById(R.id.tv_header_title);
        mHeaderRightRlay = (RelativeLayout) findViewById(R.id.rlay_header_rightfunc);

        mBackContentTv.setText("返回");
        mHeaderTitleTv.setText("申请售后服务");
        mHeaderRightRlay.setVisibility(View.GONE);

        mBackLay.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.llay_header_back: // 点击返回,关闭界面
                finish();
                break;
        }
    }
}
